package com.qqls.youxiangousys.pj.sys.dao;

import com.qqls.youxiangousys.pj.sys.entity.SysCarousel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysCarouselDao {   
    Integer getCount(String carouselTitle);

    List<SysCarousel> findCarousel(String carouselTitle, Integer start, Integer pageSize);
    //状态
    Integer updateValId(Integer id, Integer carState);
    //添加
    Integer addCar(SysCarousel car);
    //删除
    Integer delete(Integer[] ids);
    //修改
    Integer updateCar(SysCarousel carousel);
}
